package com.cheng.service;

import com.cheng.common.exception.CommonException;
import com.cheng.data.entity.CompanyMoveInfEntity;
import com.cheng.data.vo.CompanyMoveInfVO;
import com.cheng.data.vo.NoticeVO;
import com.cheng.data.vo.StatisticsVO;

import java.util.List;
import java.util.Map;

/**
 * @author: ChengJW
 * @date: 2021/12/18 10:38
 * @version: 1.0
 * @description: 企业迁移信息
 */
public interface CompanyMoveInfService {

    /**
    * @author: ChengJW
    * @params: [companyMoveInfVO]
    * @return: void
    * @date: 2021/12/18
    * @description: 新增迁出
    */
    void insertCompanyMoveInf(CompanyMoveInfEntity companyMoveInfEntity) throws CommonException;

    /**
    * @author: ChengJW
    * @params: [companyMoveInfEntity]
    * @return: void
    * @date: 2021/12/18
    * @description: 查询迁移企业列表
    */
    List<CompanyMoveInfVO> queryCompanyMoveList(Map<String,Object> map) throws CommonException;

    /**
    * @author: ChengJW
    * @params: [vo]
    * @return: void
    * @date: 2021/12/18
    * @description: 修改企业迁移信息
    */
    void updateCompanyMoveInf(CompanyMoveInfVO vo) throws CommonException;

    /**
    * @author: ChengJW
    * @params: [map]
    * @return: java.util.List<com.cheng.data.vo.StatisticsVO>
    * @date: 2021/12/20
    * @description: 统计迁移情况
    */
    List<StatisticsVO> queryStatisticsMvVOList(Map<String,Object> map) throws CommonException;

    /**
    * @author: ChengJW
    * @params: [map]
    * @return: com.cheng.data.vo.NoticeVO
    * @date: 2021/12/21
    * @description: home 页面待迁入企业提醒
    */
    NoticeVO queryMoveNoticeVO(Map<String,Object> map) throws CommonException;
}
